import {createRouter, createWebHashHistory} from 'vue-router';

export default createRouter({
    history: createWebHashHistory(),
    routes: [
        {
            path: '/',
            redirect: '/index',
        },
        {
            path: '/index',
            component: () => import('../pages/index/index.vue'),
        },
        {
            path: '/news',
            component: () => import('../pages/news/news.vue'),
        },
    ],
});